package com.boot.unity.api.wx.dto;

import lombok.Data;

@Data
public class TraceRecordDTO {
    private String schoolId;
    private String schoolName;
    private String money;
    private String unit;
    private String merOrderId;
    private String relateDataId;
    private String optUserId;
    private String optUserName;

    /** @deprecated */
    @Deprecated
    public TraceRecordDTO() {
    }

    public TraceRecordDTO(String schoolId, String schoolName, String money, String unit, String merOrderId, String relateDataId, String optUserId, String optUserName) {
        this.schoolId = schoolId;
        this.schoolName = schoolName;
        this.money = money;
        this.unit = unit;
        this.merOrderId = merOrderId;
        this.relateDataId = relateDataId;
        this.optUserId = optUserId;
        this.optUserName = optUserName;
    }

    public String getSchoolId() {
        return this.schoolId;
    }

    public String getSchoolName() {
        return this.schoolName;
    }

    public String getMoney() {
        return this.money;
    }

    public String getUnit() {
        return this.unit;
    }

    public String getMerOrderId() {
        return this.merOrderId;
    }

    public String getRelateDataId() {
        return this.relateDataId;
    }

    public String getOptUserId() {
        return this.optUserId;
    }

    public String getOptUserName() {
        return this.optUserName;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public void setMerOrderId(String merOrderId) {
        this.merOrderId = merOrderId;
    }

    public void setRelateDataId(String relateDataId) {
        this.relateDataId = relateDataId;
    }

    public void setOptUserId(String optUserId) {
        this.optUserId = optUserId;
    }

    public void setOptUserName(String optUserName) {
        this.optUserName = optUserName;
    }

//    public boolean equals(Object o) {
//        if (o == this) {
//            return true;
//        } else if (!(o instanceof TraceRecordDTO)) {
//            return false;
//        } else {
//            TraceRecordDTO other = (TraceRecordDTO)o;
//            if (!other.canEqual(this)) {
//                return false;
//            } else {
//                label107: {
//                    Object this$schoolId = this.getSchoolId();
//                    Object other$schoolId = other.getSchoolId();
//                    if (this$schoolId == null) {
//                        if (other$schoolId == null) {
//                            break label107;
//                        }
//                    } else if (this$schoolId.equals(other$schoolId)) {
//                        break label107;
//                    }
//
//                    return false;
//                }
//
//                Object this$schoolName = this.getSchoolName();
//                Object other$schoolName = other.getSchoolName();
//                if (this$schoolName == null) {
//                    if (other$schoolName != null) {
//                        return false;
//                    }
//                } else if (!this$schoolName.equals(other$schoolName)) {
//                    return false;
//                }
//
//                Object this$money = this.getMoney();
//                Object other$money = other.getMoney();
//                if (this$money == null) {
//                    if (other$money != null) {
//                        return false;
//                    }
//                } else if (!this$money.equals(other$money)) {
//                    return false;
//                }
//
//                label86: {
//                    Object this$unit = this.getUnit();
//                    Object other$unit = other.getUnit();
//                    if (this$unit == null) {
//                        if (other$unit == null) {
//                            break label86;
//                        }
//                    } else if (this$unit.equals(other$unit)) {
//                        break label86;
//                    }
//
//                    return false;
//                }
//
//                label79: {
//                    Object this$merOrderId = this.getMerOrderId();
//                    Object other$merOrderId = other.getMerOrderId();
//                    if (this$merOrderId == null) {
//                        if (other$merOrderId == null) {
//                            break label79;
//                        }
//                    } else if (this$merOrderId.equals(other$merOrderId)) {
//                        break label79;
//                    }
//
//                    return false;
//                }
//
//                label72: {
//                    Object this$relateDataId = this.getRelateDataId();
//                    Object other$relateDataId = other.getRelateDataId();
//                    if (this$relateDataId == null) {
//                        if (other$relateDataId == null) {
//                            break label72;
//                        }
//                    } else if (this$relateDataId.equals(other$relateDataId)) {
//                        break label72;
//                    }
//
//                    return false;
//                }
//
//                Object this$optUserId = this.getOptUserId();
//                Object other$optUserId = other.getOptUserId();
//                if (this$optUserId == null) {
//                    if (other$optUserId != null) {
//                        return false;
//                    }
//                } else if (!this$optUserId.equals(other$optUserId)) {
//                    return false;
//                }
//
//                Object this$optUserName = this.getOptUserName();
//                Object other$optUserName = other.getOptUserName();
//                if (this$optUserName == null) {
//                    if (other$optUserName != null) {
//                        return false;
//                    }
//                } else if (!this$optUserName.equals(other$optUserName)) {
//                    return false;
//                }
//
//                return true;
//            }
//        }
//    }

    protected boolean canEqual(Object other) {
        return other instanceof TraceRecordDTO;
    }

//    public int hashCode() {
//        int PRIME = true;
//        int result = 1;
//        Object $schoolId = this.getSchoolId();
//        int result = result * 59 + ($schoolId == null ? 43 : $schoolId.hashCode());
//        Object $schoolName = this.getSchoolName();
//        result = result * 59 + ($schoolName == null ? 43 : $schoolName.hashCode());
//        Object $money = this.getMoney();
//        result = result * 59 + ($money == null ? 43 : $money.hashCode());
//        Object $unit = this.getUnit();
//        result = result * 59 + ($unit == null ? 43 : $unit.hashCode());
//        Object $merOrderId = this.getMerOrderId();
//        result = result * 59 + ($merOrderId == null ? 43 : $merOrderId.hashCode());
//        Object $relateDataId = this.getRelateDataId();
//        result = result * 59 + ($relateDataId == null ? 43 : $relateDataId.hashCode());
//        Object $optUserId = this.getOptUserId();
//        result = result * 59 + ($optUserId == null ? 43 : $optUserId.hashCode());
//        Object $optUserName = this.getOptUserName();
//        result = result * 59 + ($optUserName == null ? 43 : $optUserName.hashCode());
//        return result;
//    }
//
//    public String toString() {
//        return "TraceRecordDTO(schoolId=" + this.getSchoolId() + ", schoolName=" + this.getSchoolName() + ", money=" + this.getMoney() + ", unit=" + this.getUnit() + ", merOrderId=" + this.getMerOrderId() + ", relateDataId=" + this.getRelateDataId() + ", optUserId=" + this.getOptUserId() + ", optUserName=" + this.getOptUserName() + ")";
//    }
}
